﻿<Application x:Class="MineSweeper.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mineSweeperWindows="clr-namespace:MineSweeper.Windows"
             xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore"
             xmlns:behaviors="clr-namespace:MineSweeper.Behaviors"
             StartupUri="Windows/MainWindow.xaml">
    <Application.Resources>
        <Style x:Key="optionWindowBackgroundStyle" TargetType="Window">
            <Setter Property="Background" Value="#F0F0F0"/>
            <Setter Property="ShowInTaskbar" Value="False" />
            <Setter Property="ResizeMode" Value="NoResize" />
            <Setter Property="WindowStyle" Value="SingleBorderWindow" />
            <Setter Property="Icon" Value="/MineSweeper;component/Resources/mine.png"/>
         </Style>
        <Style x:Key="windowBackgroundStyle" TargetType="Window">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                        <GradientStop Color="#BFDBFF"   Offset="0"/>
                        <GradientStop Color="White"   Offset=".2"/>
                        <GradientStop Color="#BFDBFF"   Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
       
        <Style TargetType="Menu">
            <Setter Property="Height" Value="21"/>
        </Style>
        <Style x:Key="mainBorderStyle" TargetType="Border">
            <Setter Property="BorderThickness" Value="1,1,0,0"/>
            <Setter Property="BorderBrush" Value="Black"/>
            <Setter Property="Background" Value="Transparent"/>
        </Style> 
    </Application.Resources>
</Application>
